package com.doudou.pay.helper.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.doudou.pay.helper.entities.MerchantUser;

public interface MerchantUserMapper {
	public int insert(MerchantUser merchantuser);

	public int update(MerchantUser merchantuser);

	public int updateBalance(@Param("userId") String userId,
			@Param("deductionMoney") double deductionMoney);

	public MerchantUser selectById(MerchantUser merchantuser);

	public MerchantUser selectByUserId(String userId);

	public List<MerchantUser> select(MerchantUser merchantuser);

	public int selectCount(MerchantUser merchantuser);
}
